package com.xiaoshuidi.cloud.module.finance.enums.voucher;

import com.xiaoshuidi.cloud.module.finance.enums.finance.FinanceAccountWithdrawResultEnum;
import lombok.Getter;

/**
	* @author dujianguang
	*/
@Getter
public enum FinanceVoucherFeeTypeEnum {
		ZJ("1122.02.06.01","租金","应收账款_非关联方_公寓_租金"),
		GLF("1122.02.06.02","管理费","应收账款_非关联方_公寓_管理费"),
		SF("1122.02.06.03","水费","应收账款_非关联方_公寓_水费"),
		DF("1122.02.06.04","电费","应收账款_非关联方_公寓_电费"),
		QTLXSF("1122.02.06.05","其他零星收入","应收账款_非关联方_公寓_其他"),
		QT("2241.02.03.04","其他","其他应付款_非关联方_公寓类_其他"),
		YJ("2241.02.03.01","押金","其他应付款_非关联方_公寓类_租赁押金"),
		DJ("2241.02.03.01","订金","其他应付款_非关联方_公寓类_租赁押金"),
		;

		private final String code;
		private final String name;
		private final String remark;

		FinanceVoucherFeeTypeEnum(String code, String name, String remark) {
				this.code = code;
				this.name = name;
				this.remark = remark;
		}
		public  static FinanceVoucherFeeTypeEnum find(String name) {
				for (FinanceVoucherFeeTypeEnum value : values()) {
						if (value.getName().equals(name)) {
								return value;
						}
				}
				return null;
		}
}
